﻿namespace Common.EventBus.EventBusRabbitMQ
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public class QueueSubscribeAttribute : Attribute
    {
        public string Queue { get; set; } = string.Empty;

        public ushort QueuePrefetchCount { get; set; } = 5;

        public string ExchangeName { get; set; } = string.Empty;

        public string ExchangeType { get; set; } = "direct";

        public string RouteKey { get; set; } = string.Empty;
    }
}